﻿using mds.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mds.Log
{
    public class LogConfigService
    {
         private static LogConfigService _instance = new LogConfigService();
         private LogConfigItem _Configuration;

        public static LogConfigService Instance
        {
            get { return _instance; }         
        }
        private LogConfigService()
        {
            _Configuration = ConfigurationManager.Instance.GetService<LogConfigItem>("LogService");
        }
        public LogConfigItem GetConfig()
        {
            return _Configuration;
        }
    }
}
